package com.atguigu.study.exp;

import lombok.Getter;

//这自定义业务类异常，是特殊的、非全局异常
@Getter
public class BusinessException extends RuntimeException{
    private String code;
    private String message;
    public BusinessException(String code,String message){
        this.code = code;
        this.message = message;
    }

}
